package com.xinli.business.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xinli.common.annotation.Excel;
import com.xinli.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 问题咨询对象 t_question
 *
 * @author ruoyi
 * @date 2025-03-24
 */
@Data
@TableName(value = "t_question")
@EqualsAndHashCode(callSuper = true)
public class TQuestion extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId(type = IdType.ASSIGN_ID)
    private String id;



    /**
     * "一级标签Id"
     */
    @Excel(name = "一级标签Id")
    private String labelOneId;

    /**
     * "标题"
     */
    @Excel(name = "标题")
    private String title;

    /**
     * "问题"
     */
    @Excel(name = "问题")
    private String content;

    /**
     * "是否匿名"
     */
    @Excel(name = "是否匿名")
    private String isNm;

    /**
     * "查看数量"
     */
    @Excel(name = "查看数量")
    private Long viewCount;

    /**
     * "评论数量"
     */
    @Excel(name = "评论数量")
    private Long plCount;

    /**
     * "关注数量"
     */
    @Excel(name = "关注数量")
    private Long followCount;


    /**
     * "是否关注  true  false"
     */
    @Excel(name = "是否关注")
    private Boolean isFollow;


    /**
     * "回复列表"
     */
    @TableField(exist = false)
    private List<TQuestionReply> replyList;

    /**
     * "排序方式"
     */
    @TableField(exist = false)
    private String orderType;

    /**
     * "圈子名称"
     */
    @TableField(exist = false)
    private String labelName;



}
